class UrlMappings {

	static mappings = {
		"/$controller/$action?/$id?"{
			constraints {
				// apply constraints here
			}
		}

		//"/"(view:"/index")
		//"500"(view:'/error')
		"/"(controller:"login",action:"index")
		"500"(controller:"errors", action:"serverError")
		"404"(controller:"errors", action:"notFound")
		"403"(controller:"errors", action:"forbidden")
	}
}
